package com.fc.test.common.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取项目相关配置

 */
@Component
@ConfigurationProperties(prefix = "fuce")
public class V2Config
{

    /** 上传路径 */
    private static String profile;
    /** 开启存放静态文件夹后目录 **/
    private static String isroot_dir;
    /** 滚动验证码 **/
    private static Boolean rollVerification;


    public static String getProfile() {
        return profile;
    }

    public static void setProfile(String profile) {
        V2Config.profile = profile;
    }

    public static String getIsroot_dir() {
        return isroot_dir;
    }

    public static void setIsroot_dir(String isroot_dir) {
        V2Config.isroot_dir = isroot_dir;
    }

    public static Boolean getRollVerification() {
        return rollVerification;
    }

    public static void setRollVerification(Boolean rollVerification) {
        V2Config.rollVerification = rollVerification;
    }
}
